<?php
$paypal_url='https://www.sandbox.paypal.com/cgi-bin/webscr'; // Test Paypal API URL
$paypal_id='samarasay-merchant@gmail.com'; // Business email ID
?>
<h4>Welcome, Guest</h4>

<div class="product">            
    
    <div class="price">
        Price:$10
    </div>
    <div class="btn">
	
	<form action="<?php echo $paypal_url;?>" method="post" id="paypal-payment-form" accept-charset="UTF-8">

				<input type="hidden" name="cmd" value="_xclick">
				<input type="hidden" name="business" value="<?php echo $paypal_id;?>">
				<input type="hidden" name="amount" value="10">
				<input type="hidden" name="no_note" value="1">
				<input type="hidden" name="currency_code" value="USD">
				<!-- <input type="hidden" name="address_override" value="1"> -->
<!-- 				<input type="hidden" name="email" value="<?php //echo $payers_account; ?>">
 -->
 				<input type="hidden" name="item_name" value="IPTEL Service">
 				<input type="hidden" name="custom" value="<?php echo $payers_account; ?>"/>
				<input type="hidden" name="notify_url" value="http://iptelservices.com/iptelservices/paypal/success.php">
				<input type="hidden" name="return" value="http://iptelservices.com/iptelservices/paypal/success.php">
				<input type="hidden" name="cancel_return" value="http://iptelservices.com/iptelservices/paypal/success.php">
				 
				<input type="hidden" name="rm" value="2">
				<p class="help-text">processing ... </p>
				<input type="submit" id="edit-submit" name="op" value="Submit" class="form-submit">
				<p class="help-text2">Please click the "submit" button if you are not taken to the paypal page.</p>
			</form>
		</div>
</div>
	<!--		
    <form action="<?php echo $paypal_url; ?>" method="post" name="frmPayPal1">
    <input type="hidden" name="business" value="<?php echo $paypal_id; ?>">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="item_name" value="PHPGang Payment">
    <input type="hidden" name="item_number" value="1"> 
    <input type="hidden" name="userid" value="1">
    <input type="hidden" name="amount" value="10"> 
    <input type="hidden" name="no_shipping" value="1">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="handling" value="0">
    <input type="hidden" name="cancel_return" value="http://localhost/paypal/cancel.php">
    <input type="hidden" name="return" value="http://localhost/paypal/success.php">
    <input type="submit" name="submit" value="Pay"/>
    </form> -->
    
